<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml">
<HEAD><TITLE>高频游戏平台  - 参与游戏  </TITLE>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<META http-equiv="Pragma" content="no-cache" />
<link href="http://cache4.enginx.net:1888/highgame/css/new_higame/defaultright.0.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="http://cache4.enginx.net:1888/highgame/css/new_higame/dialogUI.css" type="text/css" />

<script language="javascript" type="text/javascript" src="http://cache4.enginx.net:1888/highgame/js/jquery.js"></script>
<script language="javascript" type="text/javascript" src="http://cache4.enginx.net:1888/highgame/js/common.js"></script>

<script language="javascript" src="http://cache4.enginx.net:1888/highgame/js/new_higame/dialogUI/jquery.dragdrop.js"></script>
<script language="javascript" src="http://cache4.enginx.net:1888/highgame/js/new_higame/dialogUI/jquery.dialogUI.js"></script>
<script language="javascript" src="http://cache4.enginx.net:1888/highgame/js/new_higame/lottery/highgame_lang_zh.js"></script>
<script language="javascript" src="http://cache4.enginx.net:1888/highgame/js/new_higame/lottery/jquery.highgame.0.js"></script>

<style type="text/css">
#task_div{
	width:250px!important;width:295px;
	height:100px;
	line-weight:20px;
	color:#FFF;
	padding-left:5px;
	background-image: url(http://cache4.enginx.net:1888/highgame/images/new_higame/alertback.png);
	background-color:#131E31;	
	position:absolute;
	text-align:left;
	overflow:hidden;
	border:1px #131E31 double;
	padding:0px;
}
#task_div a{
    color:#FFF;
}
#task_div a:visited{
    color:#FFF;
}
.code1{
	width:250px!important;width:295px;
	height:80px;
	line-weight:20px;
	color:#000;
	background:#FFF;	
	text-align:left;
	overflow-y:auto;
	border:1px #131E31 double;
	border-left:0px;
}	

</style>
<script language="javascript">
function show_on()
{
	$("#lt_help_div").show("slow");
}
function close_on()
{
	$("#lt_help_div").hide("slow");
}
(function($){
$(document).ready(function(){
	$.gameInit({
		data_label: [
										{title:'直选',label:[{methoddesc:'从百位、十位、个位中至少各选1个号码。',
methodhelp:'从百位、十位、个位中选择一个3位数号码组成一注，所选号码与开奖号码相同，且顺序一致，即为中奖。',
                                    selectarea:{
                                               type   : 'digital',
                                               layout : [
                                                           {title:'百位', no:'0|1|2|3|4|5|6|7|8|9', place:0, cols:1},
                                                           {title:'十位', no:'0|1|2|3|4|5|6|7|8|9', place:1, cols:1},
                                                           {title:'个位', no:'0|1|2|3|4|5|6|7|8|9', place:2, cols:1}
                                                          ],
                                               noBigIndex : 5,
                                               isButton   : true
                                              },
                                    show_str : '-,-,X,X,X',
                                    code_sp : '',
                                                  methodid : 189,
                                                  name:'复式',
                                                  prize:{1:'1700.00'},
                                                  modes:[{modeid:1,name:'元',rate:1},{modeid:2,name:'角',rate:0.1}],
                                                  desc:'直选复式（鼠标录入）',maxcodecount:0
                                                },{methoddesc:'手动输入号码，至少输入1个三位数号码。',
methodhelp:'手动输入一个3位数号码组成一注，所选号码与开奖号码相同，且顺序一致，即为中奖。',
                                    selectarea:{type:'input'},
                                    show_str : 'X',
                                    code_sp : ' ',
                                                  methodid : 189,
                                                  name:'单式',
                                                  prize:{1:'1700.00'},
                                                  modes:[{modeid:1,name:'元',rate:1},{modeid:2,name:'角',rate:0.1}],
                                                  desc:'直选单式（键盘录入）',maxcodecount:0
                                                },{methoddesc:'从0-27中任意选择1个或1个以上号码。',
methodhelp:'所选数值等于开奖号码的三个数字相加之和，即为中奖。',
                                    selectarea:{
                                               type   : 'digital',
                                               layout : [
                                                           {title:'直选和值', no:'0|1|2|3|4|5|6|7|8|9|10|11|12|13', place:0, cols:1},
                                                           {title:'', no:'14|15|16|17|18|19|20|21|22|23|24|25|26|27', place:0, cols:1}
                                                         ],
                                               isButton   : false
                                              },
                                    show_str : 'X',
                                    code_sp : ',',
                                                  methodid : 190,
                                                  name:'和值',
                                                  prize:{1:'1700.00'},
                                                  modes:[{modeid:1,name:'元',rate:1},{modeid:2,name:'角',rate:0.1}],
                                                  desc:'直选和值',maxcodecount:0
                                                }]},										{title:'组选',label:[{methoddesc:'从0-9中任意选择2个或2个以上的号码。',
methodhelp:'从0-9中任意选择2个数字组成两注，所选号码与开奖号码相同，且顺序不限，即为中奖。',
                                    selectarea:{
                                               type   : 'digital',
                                               layout : [
                                                           {title:'组三', no:'0|1|2|3|4|5|6|7|8|9', place:0, cols:1}
                                                          ],
                                               noBigIndex : 5,
                                               isButton   : true
                                              },
                                    show_str : 'X',
                                    code_sp : ',',
                                                  methodid : 192,
                                                  name:'组三',
                                                  prize:{1:'570.00'},
                                                  modes:[{modeid:1,name:'元',rate:1},{modeid:2,name:'角',rate:0.1}],
                                                  desc:'组三',maxcodecount:0
                                                },{methoddesc:'从0-9中任意选择3个或3个以上的号码。',
methodhelp:'从0-9中任意选择3个号码组成一注，所选号码与开奖号码相同，顺序不限，即为中奖。',
                                    selectarea:{
                                               type   : 'digital',
                                               layout : [
                                                           {title:'组六', no:'0|1|2|3|4|5|6|7|8|9', place:0, cols:1}
                                                          ],
                                               noBigIndex : 5,
                                               isButton   : true
                                              },
                                    show_str : 'X',
                                    code_sp : ',',
                                                  methodid : 193,
                                                  name:'组六',
                                                  prize:{2:'280.00'},
                                                  modes:[{modeid:1,name:'元',rate:1},{modeid:2,name:'角',rate:0.1}],
                                                  desc:'组六',maxcodecount:0
                                                },{methoddesc:'手动输入号码，至少输入1个三位数号码。',
methodhelp:'手动输入购买号码，3个数字为一注，开奖号码符合组三或组六均为中奖。',
                                    selectarea:{type:'input'},
                                    show_str : 'X',
                                    code_sp : ' ',
                                                  methodid : 194,
                                                  name:'混合',
                                                  prize:{1:'570.00',2:'280.00'},
                                                  modes:[{modeid:1,name:'元',rate:1},{modeid:2,name:'角',rate:0.1}],
                                                  desc:'混合组选',maxcodecount:0
                                                },{methoddesc:'从1-26中任意选择1个或1个以上号码。',
methodhelp:'所选数值等于开奖号码的三个数字相加之和，即为中奖。',
                                    selectarea:{
                                               type   : 'digital',
                                               layout : [
                                                           {title:'组选和值', no:'1|2|3|4|5|6|7|8|9|10|11|12|13', place:0, cols:1},
                                                           {title:'', no:'14|15|16|17|18|19|20|21|22|23|24|25|26', place:0, cols:1}
                                                         ],
                                               isButton   : false
                                              },
                                    show_str : 'X',
                                    code_sp : ',',
                                                  methodid : 195,
                                                  name:'和值',
                                                  prize:{1:'570.00',2:'280.00'},
                                                  modes:[{modeid:1,name:'元',rate:1},{modeid:2,name:'角',rate:0.1}],
                                                  desc:'组选和值',maxcodecount:0
                                                }]},										{title:'不定位',label:[{methoddesc:'从0-9中任意选择1个或1个以上的号码。',
methodhelp:'从0-9中选择1个号码，每注由1个号码组成，只要开奖结果中包含所选号码，即为中奖。',
                                    selectarea:{
                                               type   : 'digital',
                                               layout : [
                                                           {title:'不定位', no:'0|1|2|3|4|5|6|7|8|9', place:0, cols:1}
                                                          ],
                                               noBigIndex : 5,
                                               isButton   : true
                                              },
                                    show_str : 'X',
                                    code_sp : ',',
                                                  methodid : 197,
                                                  name:'一码',
                                                  prize:{1:'6.60'},
                                                  modes:[{modeid:1,name:'元',rate:1},{modeid:2,name:'角',rate:0.1}],
                                                  desc:'一码不定位',maxcodecount:0
                                                }]},										{title:'定位胆',label:[{methoddesc:'在百位，十位，个位任意位置上任意选择1个或1个以上号码。',
methodhelp:'从百位、十位、个位任意1个位置或多个位置上选择1个号码，所选号码与相同位置上的开奖号码一致，即为中奖。',
                                    selectarea:{
                                               type   : 'digital',
                                               layout : [
                                                           {title:'百位', no:'0|1|2|3|4|5|6|7|8|9', place:0, cols:1},
                                                           {title:'十位', no:'0|1|2|3|4|5|6|7|8|9', place:1, cols:1},
                                                           {title:'个位', no:'0|1|2|3|4|5|6|7|8|9', place:2, cols:1}
                                                          ],
                                               noBigIndex : 5,
                                               isButton   : true
                                              },
                                    show_str : 'X,X,X',
                                    code_sp : '',
                                                  methodid : 261,
                                                  name:'定位胆',
                                                  prize:{1:'17.00'},
                                                  modes:[{modeid:1,name:'元',rate:1},{modeid:2,name:'角',rate:0.1}],
                                                  desc:'定位胆',maxcodecount:0
                                                }]},										{title:'二星',label:[{methoddesc:'从十位和个位上至少各选1个号码。',
methodhelp:'从十位和个位上至少各选1个号码，所选号码与开奖号码的十位、个位相同，且顺序一致，即为中奖。',
                                    selectarea:{
                                               type   : 'digital',
                                               layout : [
                                                           {title:'十位', no:'0|1|2|3|4|5|6|7|8|9', place:0, cols:1},
                                                           {title:'个位', no:'0|1|2|3|4|5|6|7|8|9', place:1, cols:1}
                                                          ],
                                               noBigIndex : 5,
                                               isButton   : true
                                              },
                                    show_str : '-,X,X',
                                    code_sp : '',
                                                  methodid : 201,
                                                  name:'后二直选复式',
                                                  prize:{1:'170.00'},
                                                  modes:[{modeid:1,name:'元',rate:1},{modeid:2,name:'角',rate:0.1}],
                                                  desc:'后二直选复式',maxcodecount:0
                                                },{methoddesc:'手动输入号码，至少输入1个两位数号码。',
methodhelp:'手动输入一个2位数号码组成一注，所选号码与开奖号码的十位、个位相同，且顺序一致，即为中奖。',
selectarea:{type:'input'},
show_str : 'X',
code_sp : ' ',
                                                  methodid : 201,
                                                  name:'后二直选单式',
                                                  prize:{1:'170.00'},
                                                  modes:[{modeid:1,name:'元',rate:1},{modeid:2,name:'角',rate:0.1}],
                                                  desc:'后二直选单式',maxcodecount:0
                                                },{methoddesc:'从0-9中任意选择2个或2个以上号码。',
methodhelp:'从0-9中选二个号码组成一注，所选号码与开奖号码的十位、个位相同，顺序不限，即为中奖。',
                                    selectarea:{
                                               type   : 'digital',
                                               layout : [
                                                           {title:'组选', no:'0|1|2|3|4|5|6|7|8|9', place:0, cols:1}
                                                          ],
                                               noBigIndex : 5,
                                               isButton   : true
                                              },
                                    show_str : 'X',
                                    code_sp : ',',
                                                  methodid : 205,
                                                  name:'后二组选复式',
                                                  prize:{1:'85.00'},
                                                  modes:[{modeid:1,name:'元',rate:1},{modeid:2,name:'角',rate:0.1}],
                                                  desc:'后二组选复式',maxcodecount:0
                                                },{methoddesc:'手动输入号码，至少输入1个两位数号码。',
methodhelp:'手动输入购买号码，2个数字为一注，所选号码与开奖号码的十位、个位相同，顺序不限，即为中奖。',
selectarea:{type:'input'},
show_str : 'X',
code_sp : ' ',
                                                  methodid : 205,
                                                  name:'后二组选单式',
                                                  prize:{1:'85.00'},
                                                  modes:[{modeid:1,name:'元',rate:1},{modeid:2,name:'角',rate:0.1}],
                                                  desc:'后二组选单式',maxcodecount:0
                                                },{methoddesc:'从百位和十位上至少各选1个号码。',
methodhelp:'从百位和十位上至少各选1个号码，所选号码与开奖号码百位、十位相同，且顺序一致，即为中奖。',
                                    selectarea:{
                                               type   : 'digital',
                                               layout : [
                                                           {title:'百位', no:'0|1|2|3|4|5|6|7|8|9', place:0, cols:1},
                                                           {title:'十位', no:'0|1|2|3|4|5|6|7|8|9', place:1, cols:1}
                                                          ],
                                               noBigIndex : 5,
                                               isButton   : true
                                              },
                                    show_str : 'X,X,-',
                                    code_sp : '',
                                                  methodid : 199,
                                                  name:'前二直选复式',
                                                  prize:{1:'170.00'},
                                                  modes:[{modeid:1,name:'元',rate:1},{modeid:2,name:'角',rate:0.1}],
                                                  desc:'前二直选复式',maxcodecount:0
                                                },{methoddesc:'手动输入号码，至少输入1个两位数号码。',
methodhelp:'手动输入一个2位数号码组成一注，所选号码与开奖号码的百位、十位相同，且顺序一致，即为中奖。',
selectarea:{type:'input'},
show_str : 'X',
code_sp : ' ',
                                                  methodid : 199,
                                                  name:'前二直选单式',
                                                  prize:{1:'170.00'},
                                                  modes:[{modeid:1,name:'元',rate:1},{modeid:2,name:'角',rate:0.1}],
                                                  desc:'前二直选单式',maxcodecount:0
                                                },{methoddesc:'从0-9中任意选择2个或2个以上号码。',
methodhelp:'从0-9中选2个号码组成一注，所选号码与开奖号码的百位、十位相同，顺序不限，即为中奖。',
                                    selectarea:{
                                               type   : 'digital',
                                               layout : [
                                                           {title:'组选', no:'0|1|2|3|4|5|6|7|8|9', place:0, cols:1}
                                                          ],
                                               noBigIndex : 5,
                                               isButton   : true
                                              },
                                    show_str : 'X',
                                    code_sp : ',',
                                                  methodid : 203,
                                                  name:'前二组选复式',
                                                  prize:{1:'85.00'},
                                                  modes:[{modeid:1,name:'元',rate:1},{modeid:2,name:'角',rate:0.1}],
                                                  desc:'前二组选复式',maxcodecount:0
                                                },{methoddesc:'手动输入号码，至少输入1个两位数号码。',
methodhelp:'手动输入购买号码，2个数字为一注，所选号码与开奖号码的百位、十位相同，顺序不限，即为中奖。',
selectarea:{type:'input'},
show_str : 'X',
code_sp : ' ',
                                                  methodid : 203,
                                                  name:'前二组选单式',
                                                  prize:{1:'85.00'},
                                                  modes:[{modeid:1,name:'元',rate:1},{modeid:2,name:'角',rate:0.1}],
                                                  desc:'前二组选单式',maxcodecount:0
                                                }]}										],
		cur_issue : {issue:'20110224-22',endtime:'2011-02-24 20:58:00'},
		issues    : {//所有的可追号期数集合
                         today:[
                                {issue:'20110224-22',endtime:'2011-02-24 20:58:00'},								{issue:'20110224-23',endtime:'2011-02-24 21:28:00'}								                               ],
                         tomorrow: [
                                {issue:'20110225-01',endtime:'2011-02-25 10:28:00'},								{issue:'20110225-02',endtime:'2011-02-25 10:58:00'},								{issue:'20110225-03',endtime:'2011-02-25 11:28:00'},								{issue:'20110225-04',endtime:'2011-02-25 11:58:00'},								{issue:'20110225-05',endtime:'2011-02-25 12:28:00'},								{issue:'20110225-06',endtime:'2011-02-25 12:58:00'},								{issue:'20110225-07',endtime:'2011-02-25 13:28:00'},								{issue:'20110225-08',endtime:'2011-02-25 13:58:00'},								{issue:'20110225-09',endtime:'2011-02-25 14:28:00'},								{issue:'20110225-10',endtime:'2011-02-25 14:58:00'},								{issue:'20110225-11',endtime:'2011-02-25 15:28:00'},								{issue:'20110225-12',endtime:'2011-02-25 15:58:00'},								{issue:'20110225-13',endtime:'2011-02-25 16:28:00'},								{issue:'20110225-14',endtime:'2011-02-25 16:58:00'},								{issue:'20110225-15',endtime:'2011-02-25 17:28:00'},								{issue:'20110225-16',endtime:'2011-02-25 17:58:00'},								{issue:'20110225-17',endtime:'2011-02-25 18:28:00'},								{issue:'20110225-18',endtime:'2011-02-25 18:58:00'},								{issue:'20110225-19',endtime:'2011-02-25 19:28:00'},								{issue:'20110225-20',endtime:'2011-02-25 19:58:00'},								{issue:'20110225-21',endtime:'2011-02-25 20:28:00'},								{issue:'20110225-22',endtime:'2011-02-25 20:58:00'},								{issue:'20110225-23',endtime:'2011-02-25 21:28:00'}								                               ]
                     },
		servertime: '2011-02-24 20:46:27',
		lotteryid : parseInt(4,10),
		ajaxurl   : './?controller=game&action=play',
		ontimeout : function(){
							$.ajax({
									type: 'POST',
									url : './?controller=game&action=play&curmid=151',
									data: "lotteryid=4&flag=gethistory",
									success: function(data){
										var partn = /<script.*>.*<\/script>/;
										if( data == 'empty' && partn.test(data) ){
											return;
										}
										eval("data="+data);
										processCode(data[0].issue,data[0].code);
										/*$(".history_tr","#history_table").remove();
										var html = '';
										$.each(data,function(i,n){
											html += '<tr class="history_tr">';
											n.statuscode = parseInt(n.statuscode,10);
											n.code = n.statuscode==2 ? n.code : '未开奖';
											if( i%2 == 0 ){
												html += '<td class="odd">'+n.issue+'</td><td class="odd">'+n.code+'</td>';
											}else{
												html += '<td>'+n.issue+'</td><td>'+n.code+'</td>';
											}
											html += '</tr>';
											if(i == 0)
											{
												processCode(n.issue,n.code)
											}
										});
										$(html).insertAfter("#history_title");*/
									}
								});
					},
			onfinishbuy : function(){
								$.ajax({
										type: 'POST',
										url : './?controller=game&action=play&curmid=151',
										data: "lotteryid=4&flag=getprojects",
										success: function(data){
											var partn = /<script.*>.*<\/script>/;
											if( data == 'empty' && partn.test(data) ){
												return;
											}
											eval("data="+data);
											$(".history_pro","#history_project").remove();
											var html = '';
											var selectedcss = '';
											$.each(data,function(i,n){
												html += '<tr class="history_pro">';
												if( i%2 == 0 ){
													selectedcss = ' class="odd" bgcolor="#CCCCCC" align="center"';
												}else{
													selectedcss = ' bgcolor="#CCCCCC" align="center"';
												}
												html += '<td'+selectedcss+' height="30"><a href="./index.php?controller=gameinfo&action=gamedetail&id='+n.projectid+'" target="_blank" title="查看注单详情" class="projectidarea">'+n.projectid+'</a></td>';
												html += '<td'+selectedcss+'>'+n.writetime+'</td>';
												html += '<td'+selectedcss+'>'+n.methodname+'</td>';
												html += '<td'+selectedcss+'>'+n.issue+'</td>';
												html += '<td'+selectedcss+'>'+n.modes+'</td>';
												if( n.code.length>20 ){
													html += '<td'+selectedcss+'><span class="project_more">号码详情</span><div style="display:none;">'+n.code+'</div></td>';
												}else{
													html += '<td'+selectedcss+'>'+n.code+'</td>';
												}
												html += '<td'+selectedcss+'>'+n.multiple+'</td>';
												html += '<td'+selectedcss+'>'+moneyFormat(n.totalprice)+'</td>';
												html += '<td'+selectedcss+'>'+(parseInt(n.taskid,10)>0 ? "是" : "否")+'</td>';
												html += '</tr>';
											});
											$(html).insertAfter("#project_title");
										}
									});
						}
	});
	if('031' != ''){
	    processCode('20110224-21','031');
	}
	$('span[class="project_more"]',"#history_project").live("click",function(){
                var mme = this;
                var $h = $('<span style="display: block;" id="task_div">号码详情[<span class="close">关闭</span>]<br><textarea readonly="readonly" class="code1">'+$(mme).next().html()+'</textarea></span>');
                $(this).openFloat($h,"projects_more");
                $("span",$(this).parent()).filter(".close").click(function(){
                    $(mme).closeFloat();
                });
    });


	

	


    
	//
	/*		function historyLotteryCode_1(){
		$.ajax({
				type: 'POST',
				url : './?controller=game&action=play&curmid=151',
				data: "lotteryid=1&flag=getlotterycode",
				success: function(data){
					var partn = /<script.*>.*<\/script>/;
					if( data == 'empty' && partn.test(data) ){
						return;
					}
					eval("data="+data);
					$("#history_lottery_issue_1").html(data.issue);
					$("#history_lottery_code_1").html(data.code);
					setTimeout(historyLotteryCode_1,parseInt(data.timeout));
				}
					
		});
	}
	setTimeout(historyLotteryCode_1,268000);
				function historyLotteryCode_2(){
		$.ajax({
				type: 'POST',
				url : './?controller=game&action=play&curmid=151',
				data: "lotteryid=2&flag=getlotterycode",
				success: function(data){
					var partn = /<script.*>.*<\/script>/;
					if( data == 'empty' && partn.test(data) ){
						return;
					}
					eval("data="+data);
					$("#history_lottery_issue_2").html(data.issue);
					$("#history_lottery_code_2").html(data.code);
					setTimeout(historyLotteryCode_2,parseInt(data.timeout));
				}
					
		});
	}
	setTimeout(historyLotteryCode_2,284000);
				function historyLotteryCode_3(){
		$.ajax({
				type: 'POST',
				url : './?controller=game&action=play&curmid=151',
				data: "lotteryid=3&flag=getlotterycode",
				success: function(data){
					var partn = /<script.*>.*<\/script>/;
					if( data == 'empty' && partn.test(data) ){
						return;
					}
					eval("data="+data);
					$("#history_lottery_issue_3").html(data.issue);
					$("#history_lottery_code_3").html(data.code);
					setTimeout(historyLotteryCode_3,parseInt(data.timeout));
				}
					
		});
	}
	setTimeout(historyLotteryCode_3,424000);
				function historyLotteryCode_4(){
		$.ajax({
				type: 'POST',
				url : './?controller=game&action=play&curmid=151',
				data: "lotteryid=4&flag=getlotterycode",
				success: function(data){
					var partn = /<script.*>.*<\/script>/;
					if( data == 'empty' && partn.test(data) ){
						return;
					}
					eval("data="+data);
					$("#history_lottery_issue_4").html(data.issue);
					$("#history_lottery_code_4").html(data.code);
					setTimeout(historyLotteryCode_4,parseInt(data.timeout));
				}
					
		});
	}
	setTimeout(historyLotteryCode_4,793000);
				function historyLotteryCode_5(){
		$.ajax({
				type: 'POST',
				url : './?controller=game&action=play&curmid=151',
				data: "lotteryid=5&flag=getlotterycode",
				success: function(data){
					var partn = /<script.*>.*<\/script>/;
					if( data == 'empty' && partn.test(data) ){
						return;
					}
					eval("data="+data);
					$("#history_lottery_issue_5").html(data.issue);
					$("#history_lottery_code_5").html(data.code);
					setTimeout(historyLotteryCode_5,parseInt(data.timeout));
				}
					
		});
	}
	setTimeout(historyLotteryCode_5,397000);
				function historyLotteryCode_6(){
		$.ajax({
				type: 'POST',
				url : './?controller=game&action=play&curmid=151',
				data: "lotteryid=6&flag=getlotterycode",
				success: function(data){
					var partn = /<script.*>.*<\/script>/;
					if( data == 'empty' && partn.test(data) ){
						return;
					}
					eval("data="+data);
					$("#history_lottery_issue_6").html(data.issue);
					$("#history_lottery_code_6").html(data.code);
					setTimeout(historyLotteryCode_6,parseInt(data.timeout));
				}
					
		});
	}
	setTimeout(historyLotteryCode_6,219000);
				function historyLotteryCode_7(){
		$.ajax({
				type: 'POST',
				url : './?controller=game&action=play&curmid=151',
				data: "lotteryid=7&flag=getlotterycode",
				success: function(data){
					var partn = /<script.*>.*<\/script>/;
					if( data == 'empty' && partn.test(data) ){
						return;
					}
					eval("data="+data);
					$("#history_lottery_issue_7").html(data.issue);
					$("#history_lottery_code_7").html(data.code);
					setTimeout(historyLotteryCode_7,parseInt(data.timeout));
				}
					
		});
	}
	setTimeout(historyLotteryCode_7,94000);
				function historyLotteryCode_8(){
		$.ajax({
				type: 'POST',
				url : './?controller=game&action=play&curmid=151',
				data: "lotteryid=8&flag=getlotterycode",
				success: function(data){
					var partn = /<script.*>.*<\/script>/;
					if( data == 'empty' && partn.test(data) ){
						return;
					}
					eval("data="+data);
					$("#history_lottery_issue_8").html(data.issue);
					$("#history_lottery_code_8").html(data.code);
					setTimeout(historyLotteryCode_8,parseInt(data.timeout));
				}
					
		});
	}
	setTimeout(historyLotteryCode_8,127000);
				function historyLotteryCode_10(){
		$.ajax({
				type: 'POST',
				url : './?controller=game&action=play&curmid=151',
				data: "lotteryid=10&flag=getlotterycode",
				success: function(data){
					var partn = /<script.*>.*<\/script>/;
					if( data == 'empty' && partn.test(data) ){
						return;
					}
					eval("data="+data);
					$("#history_lottery_issue_10").html(data.issue);
					$("#history_lottery_code_10").html(data.code);
					setTimeout(historyLotteryCode_10,parseInt(data.timeout));
				}
					
		});
	}
	setTimeout(historyLotteryCode_10,302000);
		*/
//alert(parseInt(4,10));
var iLid = parseInt(4,10);
var position = -(iLid-1)*75;
$("#right_top_01_02").css("background-position","0px "+position+"px");
});
})(jQuery);
function processCode(issue,code)
{
	$('#last_issue').html(issue);
	if( issue.length>=12 ){
	    $('#last_issue').css("left","-6px");
	    $('#last_issue').css("right","0px");
	}
	if( issue.length == 11 ){
	    $('#last_issue').css("left","-4px");
	    $('#last_issue').css("right","0px");
	}
	if( issue.length ==7 ){
	    $('#last_issue').css("left","15px");
	}
	if( issue.length ==8 ){
	    $('#last_issue').css("left","12px");
	}
	var cStr = '';
	var aTmp = new Array;
	//处理中奖号码
	if(code.indexOf(' ') == -1)
	{
		//无空格
		aTmp = code.split('');
	}
	else
	{
		//有空格
		aTmp = code.split(' ');
	}
	for(var ci=0;ci<aTmp.length;ci++)
	{
		cStr += '<div class="right_top_02_05"><div class="';
		switch(ci)
		{
			case 0:cStr += 'ball_blue';break;
			case 1:cStr += 'ball_yellow';break;
			case 2:cStr += 'ball_pink';break;
			case 4:cStr += 'ball_gray';break;
			default:cStr += 'ball_green';break;
		}
		cStr += '" ';
		if(aTmp[ci].length > 1)
		{
			cStr += 'font-size:14px;';
		}
		cStr += ' >';
		cStr += aTmp[ci];
		cStr += '</div>';
		if(aTmp[ci].length == 1)
		{
			cStr += '<div class="right_top_02_06">';
			if(aTmp[ci]>=5)
			{
				cStr += '大';
			}
			else
			{
				cStr += '小';
			}
			cStr += '</div>';
		}
		if(aTmp[ci].length == 1){
		    cStr += '<div class="right_top_02_06">';
		}else if(aTmp[ci].length == 2){
		    cStr += '<div class="right_top_02_062">';
		}
		if(parseInt(aTmp[ci],10)%2 == 0)
		{
			cStr += '双';
		}
		else
		{
			cStr += '单';
		}
		cStr += '</div></div>';
		cStr += '<div class="line_01"></div>';
	}
	cStr = cStr.substring(0,cStr.length-28);
	var width = (300-(32+24)*aTmp.length)/2+'px';
	$('#last_code').html(cStr);
	$('#last_code').css('margin-left',width);
	
	//alert(width);
}
</script>
<style type="text/css">
.project_more{
	cursor:pointer;
	color:#0000FF;
}
.projects_more{
	width:250px;
	background:#000000;	
	position:absolute;
	z-index:100;
	border:1px #999999 double;
	padding:0px;
	color:#FFFFFF;
	text-align:left;
}
.projects_more span{
	height:20px;
	line-height:20px;
	color:#FFFFFF;
	margin-left:0px;
}
.projects_more .code{
	width:274px;
	height:80px;
	line-height:20px;
	color:#FFFFFF;
	background:#000000;	
	text-align:left;
	border:1px #999999 double;
}
.projects_more .close{
	cursor:pointer;
}
.projectidarea{
	text-decoration:none;
	color:#000000;
	}
</style>
<style type="text/css">
/* Scroller Box */  
 #scroller_container {  
  position: relative;  
  width: 120px;  
  height: 200px;  
  overflow: hidden;  
 }  
 #scroller p {  
  padding: 0;  
 }  
 /* Scoller Box   */
#last_issue{
    position: absolute;
    top:0px;
    left:7px;
}

.alink a{
	color: #192E32;
	text-decoration: none;
}
.alink a:hover{
	color: #9D7250;
	text-decoration: underline;
}

</style>

</HEAD>
<form method="post" name="buyform" action="">
  <input type="hidden" name="lotteryid" id="lotteryid" value="4" />
  <input type="hidden" name="curmid" id="curmid" value="151" />
  <input type="hidden" name="flag" id="flag" value="save" />    
<div id="right_01">

<div class="right_01_01"><a href="./index.php" target='_top'>高频游戏</a> -   参与游戏 </div>
</div>

<center>
<!-- 顶部倒计时显示信息 -->
<div class="right_02 height75" style="width:752px;">
<div id="right_top_01">
<div class="right_top_01_01"></div>
<div id="right_top_01_02">
<div id="right_top_01_03">第<span id="current_issue" style="color:#00FF00;font-weight:bold;"></span>期<br />
    截至日期<span id="current_endtime"></span></div>
</div>
<div id="right_top_01_04"></div>
<div id="right_top_01_05">
<div id="right_top_01_07">离当前期截止还剩</div>
<div id="right_top_01_08">
<div id="right_top_01_09"></div>
<div id="right_top_01_10"><span id="count_down">00:00:00</span></div>
<div id="right_top_01_11"></div>
</div>
</div>
<div class="right_top_01_06"></div>
</div>
<div id="right_top_02">
<div class="right_top_01_01"></div>
<div id="right_top_02_01" style="position: relative;"><span id="last_issue">20110224-21</span><br /><a href="./?controller=game&action=bonuscode&lotteryid=4"  target="_blank">开奖号码</a><br />
<font class="green"><a href="./?controller=game&action=hotcode&lotteryid=4" class="green" target="_blank">冷热</a><a href="./?controller=game&action=bonuscode&lotteryid=4" class="green" target="_blank">遗漏</a></font></div>
<div id="right_top_02_02">
<div id="right_top_02_03" ></div>
<div id="last_code"></div>
<div id="right_top_02_04"></div>
  </div>
  <div class="right_top_01_06"></div>
  </div>
  </div>
  <!--顶部倒计时显示信息结束 -->
  
<div class="right_02 d5d8de" style="background-image: url(/highgame/images/new_higame/right_02.png);
	background-position: 0px -44px;
	clear: both;
	background-repeat: repeat-x;
    width:752px;">
<div id="right_02_01">
<div class="right_02_02"></div>
<!--大标签 -->
<div class="right_02_03" id="lt_big_label" >

    
</div>
<!--大标签结束-->
<div class="right_02_04"></div>
</div>
<div class="margin10" id="lt_samll_label"></div>
<div style="margin-left:20px;clear:both;">
	<span id="lt_desc"></span><img src="http://cache4.enginx.net:1888/highgame/images/new_higame/icon_05.jpg" style="cursor:pointer;" id="lt_help" /><div id="lt_help_div"></div>
</div>


<div id="right_03">
<div class="right_02_05"></div>
<div class="right_02_06"></div>
</div>
<!--选号区 -->
<div id="lt_selector">


</div>
<!--选号区结束 -->
<div id="right_04">
<div class="right_02_07"></div>
<div class="right_02_08"></div>
</div>

<div class="right_06" id="lt_selbot">
<div><span id="lt_sel_insert" class="button04" style="cursor:pointer;">添 加</span></div>
<div class=" floatright" style="padding-right:5px;margin-top:7px;">&nbsp;模式</div>
<div class="right_07">
  <select name="lt_project_modes" id="lt_project_modes" class="select3">
    <option>元</option>
  </select>
</div>
<div class=" floatright" style="padding-right:5px;margin-top:7px;">&nbsp;倍数</div>
<div class="right_07" >
  <select name="select4"  class="select3" id="times" >
  	<option>1倍</option>
    <option>5倍</option>
    <option>10倍</option>
    <option>15倍</option>
  </select>
</div>
<div class=" floatright" style="padding-right:5px;margin-top:7px;">&nbsp;倍</div>
<div class="right_07">
    <input type="text" class="input_01" value="" id="lt_sel_times" name="lt_sel_times" style="width:45px;" />
</div>
<div class="right_07" style="margin-top:7px;">
    你选择了 <font class="red" id="lt_sel_nums">0</font> 注，共 
    <font class="red"><span id="lt_sel_money">0</span></font> 游戏币，请填写或选择倍数：
</div>
</div>
<!--  确认区，即购物栏区  -->
<div class="right_02_27">
<div class="right_02_12">
<div class="right_02_13">
<div class="right_02_14"><span style="float:left;">投注项　<font id="lt_cf_count" >0</font></span></div>
<div id="button06"><span class="cftright" id="lt_cf_clear" title="删除全部">清空X</span></div>
</div>
<div class="right_09">
<table cellpadding="0"  wrap="physical" id="lt_cf_content" width="692px" cellspacing="1"></table>


</div>
</div>
</div>


<!--  确认投注区信息  -->
<div class="right_06">
<div ><span id="lt_sendok" class="button07" style="cursor:pointer;">投 注</span></div>

<div class="right_07">
  <span id="lt_issues" class="select3"></span>
</div>
<div class="right_07">总注数 <font class="red" id="lt_cf_nums">0</font> 注，总金额 <font class="red" id="lt_cf_money">0</font> 游戏币，起始期：</div>

</div>




<div class="right_03_01">
  <div class="right_03_02"></div>
  <div class="right_02_18">
  <div  class="button09" id="lt_trace_if"  style="cursor:pointer;" ><input type="hidden" name="lt_trace_if" id="lt_trace_if_button"  value="no" />我要追号</div>
  <div class="right_02_19">
    <input type="checkbox" name="lt_trace_stop" id="lt_trace_stop" disabled="disabled" value="yes" />&nbsp;中奖后停止追号</div>
  </div>
<div class="right_02_17"></div>
</div>


<div style="display:none;" id="lt_trace_box1" class="right_10">
<div id="lt_trace_label"></div>
<span class="red" id="lt_trace_alcount" style="display:none;">126</span>
<!--<div id="button11">利润率追号</div>
<div id="button12">同倍追号</div>
<div id="button13">翻倍追号</div>

-->
<table width="100%" border="0" cellspacing="1" cellpadding="3">
    <tr>
      <td colspan="5" bgcolor="#CCCCCC">
      
	<table width="100%" border="0" cellspacing="0" cellpadding="3">
        <tr>
          <td align="left" width="140px">追号期数：
          <select id="lt_trace_qissueno" class="select3">
                    <option value="">请选择</option>
                    <option value="5">5期</option>
                    <option value="10">10期</option>
                    <option value="15">15期</option>
                    <option value="20">20期</option>
                    <option value="25">25期</option>
                    <option value="all">全部</option>
          </select>         
          </td>
          <td align="left" width="90px">总期数： <span class="red" id="lt_trace_count">0</span>  期</td>
          <td align="left">追号总金额： <span class="red" id="lt_trace_hmoney">0</span> 游戏币</td>
          <td rowspan="2" width="10px"><span id="lt_trace_ok"><div id="button08">生 成</div></span></td>
        </tr>
    </table>
        <table width="55%" border="0" cellspacing="0" cellpadding="3">
		<tr id="lt_trace_labelhtml" >

        </tr>
      </table></td>
      </tr>

  </table>
   <div class="tbclist" id="lt_trace_issues"></div>
   
   

   
</div>
<div style="margin-bottom:10px;">

</div>
<div class="right_02_26">
<div class="right_02_24"></div>
<div class="right_02_25"></div>
</div>
</div>

<div class="right_02 d5d8de" style="width:752px;">
<div id="right_02_01" style="height:44px;">
<div class="right_02_02"></div>
<div class="title01">
<div id="button10">游戏记录</div>
</div>
<div class="right_02_04 floatright"></div>
</div>
<div>
  <table width="100%" border="0" cellpadding="0" cellspacing="1" id="history_project">
    <tr id="project_title">
      <td height="30" align="center" bgcolor="#8f98a3">注单编号</td>
      <td align="center" bgcolor="#8f98a3">参与时间</td>
      <td align="center" bgcolor="#8f98a3">玩法</td>
      <td align="center" bgcolor="#8f98a3">奖期</td>
      <td align="center" bgcolor="#8f98a3">模式</td>
      <td align="center" bgcolor="#8f98a3">投注内容</td>
      <td align="center" bgcolor="#8f98a3">倍数</td>
      <td align="center" bgcolor="#8f98a3">金额</td>
      <td align="center" bgcolor="#8f98a3">是否追号 </td>
    </tr>
    
    
  </table>
</div>
<div class="right_02_26">
<div class="right_02_24"></div>
<div class="right_02_25"></div>
</div>
</div>
</form>
<!-- 右边历史号码以及即时开奖号码区 建议别删除 -->
<!-- <div class="bodyright" style="display:none;">
    	<div class="otherredtitle"><p><img src="http://cache4.enginx.net:1888/highgame/images/new_higame/icon_02.jpg" width="10" height="11" />历史号码</p></div>
        <div class="othergrabox">
        	<table cellpadding="0" cellspacing="1" id="history_table">
            	<tr id="history_title">
                 	<th width="50%">期号</th>
              		<th>开奖号码</th>
                </tr>
                                <tr class="history_tr">
                  <td class="odd">20110224-21</td>
                  <td class="odd">031</td>
                </tr>
                                <tr class="history_tr">
                  <td >20110224-20</td>
                  <td >497</td>
                </tr>
                                <tr class="history_tr">
                  <td class="odd">20110224-19</td>
                  <td class="odd">288</td>
                </tr>
                                <tr class="history_tr">
                  <td >20110224-18</td>
                  <td >575</td>
                </tr>
                                <tr class="history_tr">
                  <td class="odd">20110224-17</td>
                  <td class="odd">522</td>
                </tr>
                                <tr class="history_tr">
                  <td >20110224-16</td>
                  <td >966</td>
                </tr>
                                <tr class="history_tr">
                  <td class="odd">20110224-15</td>
                  <td class="odd">392</td>
                </tr>
                                <tr class="history_tr">
                  <td >20110224-14</td>
                  <td >496</td>
                </tr>
                                <tr class="history_tr">
                  <td class="odd">20110224-13</td>
                  <td class="odd">411</td>
                </tr>
                                <tr class="history_tr">
                  <td >20110224-12</td>
                  <td >879</td>
                </tr>
                                <tr class="history_tr">
                  <td class="odd">20110224-11</td>
                  <td class="odd">912</td>
                </tr>
                                <tr class="history_tr">
                  <td >20110224-10</td>
                  <td >080</td>
                </tr>
                                <tr class="history_tr">
                  <td class="odd">20110224-09</td>
                  <td class="odd">905</td>
                </tr>
                                <tr class="history_tr">
                  <td >20110224-08</td>
                  <td >776</td>
                </tr>
                                <tr class="history_tr">
                  <td class="odd">20110224-07</td>
                  <td class="odd">614</td>
                </tr>
                                <tr>
                	<td colspan="2" class="more"><a href="./?controller=game&action=bonuscode&lotteryid=4" target="_blank">更多号码 ...</a></td>
                </tr>
            </table>
        </div>
        
        <div class="otherredtitle"><p><img src="http://cache4.enginx.net:1888/highgame/images/new_higame/icon_02.jpg" width="10" height="11" />即时开奖号码</p></div>
        <div class="othergrabox">
        	<table cellpadding="0" cellspacing="1">
            	<tr>
                 	<th>游戏</th>
              		<th>奖期</th>
                    <th>开奖号码</th>
                </tr>
                                                <tr>
                  <td class="odd">CQSSC</td>
                  <td class="odd" id="history_lottery_issue_1">110224088</td>
                  <td class="odd" id="history_lottery_code_1">64953</td>
                </tr>
                                                                <tr>
                  <td class="odd">HLJSSC</td>
                  <td class="odd" id="history_lottery_issue_2">0048927</td>
                  <td class="odd" id="history_lottery_code_2">78200</td>
                </tr>
                                                                <tr>
                  <td class="odd">JX-SSC</td>
                  <td class="odd" id="history_lottery_issue_3">20110224-068</td>
                  <td class="odd" id="history_lottery_code_3">79608</td>
                </tr>
                                                                <tr>
                  <td class="odd">SSL</td>
                  <td class="odd" id="history_lottery_issue_4">20110224-21</td>
                  <td class="odd" id="history_lottery_code_4">031</td>
                </tr>
                                                                <tr>
                  <td class="odd">SD11Y</td>
                  <td class="odd" id="history_lottery_issue_5">11022458</td>
                  <td class="odd" id="history_lottery_code_5">05 01 08 04 03</td>
                </tr>
                                                                <tr>
                  <td class="odd">XJSSC</td>
                  <td class="odd" id="history_lottery_issue_6">11022452</td>
                  <td class="odd" id="history_lottery_code_6">92177</td>
                </tr>
                                                                <tr>
                  <td class="odd">JX11-5</td>
                  <td class="odd" id="history_lottery_issue_7">20110224-58</td>
                  <td class="odd" id="history_lottery_code_7">09 04 07 02 01</td>
                </tr>
                                                                <tr>
                  <td class="odd">GD11-5</td>
                  <td class="odd" id="history_lottery_issue_8">11022458</td>
                  <td class="odd" id="history_lottery_code_8">09 05 11 08 03</td>
                </tr>
                                                                <tr>
                  <td class="odd">CQ11-5</td>
                  <td class="odd" id="history_lottery_issue_10">11022471</td>
                  <td class="odd" id="history_lottery_code_10">01 06 05 11 03</td>
                </tr>
                                            </table>
        </div>
    </div>
 -->


<div class="right_02 d5d8de" style="width:752px;">
<div class="height5">
<div class="right_02_28"></div>
<div class="right_02_29"></div>
</div>
<div class="center" id="footer">资金安全建议：为了您的资金安全，建议定期更换您的资金密码。      
<br />
浏览器建议：首选为IE6或IE7浏览器，其次为火狐和Google浏览器。 
<br />
分辨率建议：使用800×600以上的分辨率。</div>
<div class="height5">
<div class="right_02_24"></div>
<div class="right_02_25"></div>
</div>
</div>


</center>
</body></html>
